<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="/js/jquery-3.1.1.min.js" type="text/javascript"></script>
<body>
<script>
    $(function () {
        //比如批量删除用户
        var idList = [2, 3, 4];

        $.post({
            url: '/test/delUser.do',
            data: JSON.stringify(idList),
            contentType: 'application/json',
            success: function () {

            }
        });
    })
</script>
</body>
</html>